package com.neu.dao;

import com.neu.pojo.Commodity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommodityDao {
    int delCommodity(String commodity);
    int addCommodity(Commodity commodity);
    List<Commodity> getCommodityByPage(@Param("index") int index, @Param("count") int count);
    int updateCommodity(Commodity commodity);
    int getCommodityCount();
}
